﻿namespace NetworkLibrary
{
    public interface ISyncProcedureCall
    {
        Result<TResponse> Call<TRequest, TResponse>(TRequest message) where TRequest : IMessage where TResponse : IMessage;
        void Call<TRequest>(TRequest message) where TRequest : IMessage;
    }
}
